import 'dart:io';

import 'package:flutter/widgets.dart';

class GalleryPhotoPreviewItem {
  GalleryPhotoPreviewItem({this.id, this.resource = '', this.isCanDelete = false, this.isShowLogo = false,this.isSvg = false,this.url = '',this.file,this.name});

  final String id;
  final String url;
  final String resource;
  final File file;
  final String name;
  final bool isCanDelete;
  final bool isShowLogo;
  final bool isSvg;
}

List<GalleryPhotoPreviewItem> galleryItems = <GalleryPhotoPreviewItem>[
  GalleryPhotoPreviewItem(
                      id: "tag1",
                      url: "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1574939079429&di=8b43fcdf8d3b6f117658105d4eff2fe0&imgtype=0&src=http%3A%2F%2Fimg.mp.itc.cn%2Fupload%2F20170802%2F1a0262813af546b982f485f8bb414195_th.jpg",
                    ),
                    GalleryPhotoPreviewItem(
                      id: "tag2",
                      url: "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1597239879328&di=bd8fce484d476a779618b11a5849c8ae&imgtype=0&src=http%3A%2F%2Fpic.feizl.com%2Fupload%2Fallimg%2F170614%2F1251093503-8.jpg",
                    ),
                    GalleryPhotoPreviewItem(
                      id: "tag3",
                      url: "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1597239879328&di=96cbf97c0c2b180e0c90141b76ca893f&imgtype=0&src=http%3A%2F%2Fpic.feizl.com%2Fupload%2Fallimg%2F171021%2F21541j1os3mws34.jpg",
                    ),
                    GalleryPhotoPreviewItem(
                      id: "tag4",
                      url: "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1597239879327&di=f1328cfc082706eeebc5554282c13397&imgtype=0&src=http%3A%2F%2Fd.paper.i4.cn%2Fmax%2F2017%2F02%2F15%2F15%2F1487142020943_849905.jpg",
                    ),
                    GalleryPhotoPreviewItem(
                      id: "tag5",
                      url: "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1597239879325&di=e49d3f01827e9d385a7ceb24d182ba1f&imgtype=0&src=http%3A%2F%2Fp1.ssl.cdn.btime.com%2Ft015b33425762ce11cc.jpg%3Fsize%3D1153x768",
                    ),
                    GalleryPhotoPreviewItem(
                      id: "tag6",
                      url: "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1597239879322&di=d689156d5b65504c4caf060df4d38442&imgtype=0&src=http%3A%2F%2Fimg006.hc360.cn%2Fhb%2FMTQ2MjkxMDM1NTE5MTExMzU2OTIzNjA%3D.jpg",
                    ),
                    GalleryPhotoPreviewItem(
                      id: "tag7",
                      url: "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1597239958979&di=7ea407898c9f8b38b829d1c293f4ac4b&imgtype=0&src=http%3A%2F%2Fpic.feizl.com%2Fupload%2Fallimg%2F170615%2F1439254556-11.jpg",
                    ),
];
